#include <iostream>
#include <memory>
using namespace std;

#include "HttpServer.hpp"

int main(int argc, char* argv[])
{
    if(argc != 2) return 1;

    uint16_t port = stoi(argv[1]);
    unique_ptr<HttpServer> svr = make_unique<HttpServer>(port);
    svr->start();
    

    return 0;
}